Sort(List<MedicalViewerImageData>,MedicalViewerSortCriteria) Method

Summary

Sorts the input list of data based on various values stored inside them.

Syntax
C#
VB
C++
  
Public Overloads Function Sort( _ 
   ByVal inputList As List(Of MedicalViewerImageData), _ 
   ByVal sortCriteria As MedicalViewerSortCriteria _ 
) As Boolean 
            public: 
bool Sort(  
   List<MedicalViewerImageData^>^ inputList, 
   MedicalViewerSortCriteria sortCriteria 
)  

Parameters

inputList
A list of MedicalViewerImageData that will be stored.

sortCriteria
The criteria to follow when sorting the frames.

Remarks
  • If sortCriteria is set to Acquisition time, then the method will sort the frames based on the AcquisitionTime data. Otherwise, the method will sort the list based on

    • Image position
    • Image orientation
    • Echo number
    • Instance number
    • Frame of reference UID

    For a successful sorting, it is important to have the data properly filled in.

  • If the sort fails for any reason, it returns false.

Example

For an example, refer to MedicalViewerSeriesStack

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly